package com.md.lession;

public class Demo1 {

	public static void main(String[] args) {
		
		for (int year = 1998; year <= 2008; year++) {
			if (year%4==0 && year%100!=0||year%400==0) {
				System.out.println(year);
			}
			
		}

		
		
		
	}

}
